//package com.crm.jdy.controller.activiti;
//
//import org.activiti.engine.ProcessEngine;
//import org.activiti.engine.ProcessEngineConfiguration;
//import org.activiti.engine.ProcessEngines;
//
//public class ActivitiDeloyment {
//
//        public static void main(String[] args) {
//
////        1.创建ProcessEngine 对象
//           ProcessEngines.getDefaultProcessEngine();
//        ProcessEngineConfiguration configuration = ProcessEngineConfiguration.createProcessEngineConfigurationFromResource("processes/activiti.cfg.xml");
//        //获取ProcessEngine对象
//        ProcessEngine processEngine = configuration.buildProcessEngine();
//    }
//
//}
